package com.zhl.learnDH_class.Learn1

object addnum {

    def main(args: Array[String]): Unit = {

      def add(x:Int,y:Int):Int={
        return x+y
      }

      val a = add(3,4)
      println(a)
    }

}
